import request from '@/utils/request'

// 查询所有菜单
export function findAllPermissions() {
  return request({
    url: `/admin/sysAuth/permission/findAllPermissions`
  })
}
// 初始化菜单
export function saveInitMenus(data) {
  return request({
    url: `/admin/sysAuth/permission/saveInitMenus`,
    method: 'post',
    data
  })
}

